﻿using IMES.Common.Dtos;
using MediatR;

namespace Darius.API.Application.Commands
{
    public class EmailCreateCommand:IRequest<Result>
    {
        public int EmailId { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email { get; set; }
        /// <summary>
        /// 验证码
        /// </summary>
        public string? Code { get; set; }
        public DateTime? CreateTime { get; set; } = DateTime.Now;
        public DateTime? ExpireTime { get; set; }
    }
}
